public class SmartphoneBuilderXiaoMi extends SmartphoneBuilder{
    @Override
    public void buildCPU() {
        smartphone.setCPU("高通 骁龙8 Gen3");
    }

    @Override
    public void buildGPU() {
        smartphone.setGPU("高通 Adreno");

    }

    @Override
    public void buildRAM() {
        smartphone.setRAM("16GB");

    }

    @Override
    public void buildROM() {
        smartphone.setROM("512GB");

    }

    @Override
    public void buildScreen() {
        smartphone.setScreen("6.73英寸");

    }

    @Override
    public void buildBattery() {
        smartphone.setBattery("5300mAh");

    }

    @Override
    public void buildCamera() {
        smartphone.setCamera("3200万像素前置+5000万像素后置");

    }
}
